package com.buba.system.service.Impl;

import com.buba.system.dao.LoginMapper;
import com.buba.system.pojo.SystemUser;
import com.buba.system.service.LoginService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class LoginServiceImpl implements LoginService {
    private LoginMapper loginMapper;

    @Override
    public SystemUser login(SystemUser systemUser) {
        return loginMapper.login(systemUser);
    }

    @Autowired
    public void setLoginMapper(LoginMapper loginMapper) {
        this.loginMapper = loginMapper;
    }
}
